Carbon


GetCPixel

Header: Quickdraw.h Carbon status: Supported

Determines the color of an individual pixel specified in the h and v parameters.

void GetCPixel (
    SInt16 h, 
    SInt16 v, 
    RGBColor *cPix
);
h

The horizontal coordinate of the point at the upper-left corner of the pixel.

v

The vertical coordinate of the point at the upper-left corner of the pixel.

cPix

On return, the RGBColor structure for the pixel color.

DISCUSSION

Use the SetCPixel function to change the color of this pixel.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)